Carbon


IsControlVisible

Header: Controls.h Carbon status: Supported

Determines whether a control is visible.

Boolean IsControlVisible (
    ControlRef inControl
);
inControl

A handle to the control to be examined.

function result

If true, the control is visible. If false, the control is hidden.

DISCUSSION

If you wish to determine whether a control is visible, call IsControlVisible instead of testing the contrlVis field of the control structure.

VERSION NOTES

This function is available with Appearance Manager 1.0 and later.

AVAILABILITY

Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.


© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)